package com.gljx.web.service;

import java.util.List;

import com.gljx.web.Entity.Remunerationasc;

public interface RemunerationascService {
	
	/**
	 * 根据部门组织id查询定级定薪信息
	 * @param companyId
	 * @return
	 */
	List<Remunerationasc> queryRemunerationascByCompanyId(String companyId);
	/**
	 * 查找最大编码
	 * @return
	 */
	String selectFnumber(String companyId);
	
	/**
	 * 增加定薪定职信息
	 * @param remunerationasc
	 * @return
	 */
	int addRemunerationasc(Remunerationasc remunerationasc);
	/**
	 * 根据fid删除
	 * @param fid
	 * @return
	 */
	int deleteByPrimaryKey(String fid);
	/**
	 * 根据fid和组织查找定薪定级信息
	 * @param fcomanyid 组织id
	 * @param fid
	 * @return
	 */
	Remunerationasc selectRemunerationascByFid(String fcompanyId,String fid);
	/**
	 * 根据fid修改定薪定级信息
	 * @param remunerationasc
	 * @return
	 */
	int updateRemunerationascByFid(Remunerationasc remunerationasc);
	/**
	 * 根据名称查找
	 * @param fnameL2
	 * @param companyId
	 * @return
	 */
	List<Remunerationasc> selectRemunerationascByName(String fnameL2,String companyId);
}
